package com.zjs.service;

import com.zjs.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zjs.entity.dto.UserDTO;
import com.zjs.entity.dto.UserPasswordDTO;
import com.zjs.utils.ExportUtil;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 午子牛
 * @since 2022-01-27
 */
public interface IUserService extends IService<User> {


    User register(UserDTO userDTO);

    UserDTO login(UserDTO userDTO);

    void updatePassword(UserPasswordDTO userPasswordDTO);



    /**
     * 导出配置sql
     *
     * @param idList   id集合
     * @param response 响应
     */
    void exportSql(List<Long> idList, HttpServletResponse response);
}
